package com.voice.call.mapper;

import java.util.List;
import java.util.Map;

import com.voice.call.entity.News;

public interface NewsMapper extends BaseMapper<News,Integer>{
	
	//批量新增新闻
	int insertNewsBatch(List<News> list);
	
	int count(Map<String, Object> params);
	
	//删除数据
	int deleteHistoryData(Map<String, Object> params);
	
	//判断同步的新闻是否存在
	int existsCount(Map<String, Object> params);
	
	//删除为空的数据
	int deleteNullData();
	

}
